Skip to main content

xsltLoadStylesheet

Type

function

Summary

The xsltLoadStylesheet function loads an xslt stylesheet into memory from xml data so that it can be applied to xml data using the xsltApplyStylesheet function. It returns an xslt stylesheet id.

Syntax

xsltLoadStylesheet stylesheetXML

Description

The xsltLoadStylesheet function loads an xslt stylesheet into memory from xml data so that it can be applied to xml data using the xsltApplyStylesheet function. It returns an xslt stylesheet id.

Examples

put xsltLoadStylesheet(field "fldXSLT") into tStylesheetID
put xsltApplyStylesheet(tXMLData, tStylesheetID) into tProcessedData
xsltFreeStylesheet tStylesheetID

function: revXMLEvaluateXpath, xsltApplyStylesheetFromFile, xsltLoadStylesheetFromFile, revXMLCreateTreeFromFile, revXMLCreateTree, xsltApplyStylesheet

Compatibility and Support

Introduced

LiveCode 6.5

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?